class Dept {
	dynamic createBy;
	dynamic createTime;
	dynamic updateBy;
	dynamic updateTime;
	dynamic remark;
	int? deptId;
	int? parentId;
	String? ancestors;
	String? deptName;
	int? orderNum;
	String? leader;
	dynamic phone;
	dynamic email;
	String? status;
	dynamic delFlag;
	dynamic parentName;
	List<dynamic>? children;

	Dept({
		this.createBy, 
		this.createTime, 
		this.updateBy, 
		this.updateTime, 
		this.remark, 
		this.deptId, 
		this.parentId, 
		this.ancestors, 
		this.deptName, 
		this.orderNum, 
		this.leader, 
		this.phone, 
		this.email, 
		this.status, 
		this.delFlag, 
		this.parentName, 
		this.children, 
	});

	factory Dept.fromJson(Map<String, dynamic> json) => Dept(
				createBy: json['createBy'] as dynamic,
				createTime: json['createTime'] as dynamic,
				updateBy: json['updateBy'] as dynamic,
				updateTime: json['updateTime'] as dynamic,
				remark: json['remark'] as dynamic,
				deptId: json['deptId'] as int?,
				parentId: json['parentId'] as int?,
				ancestors: json['ancestors'] as String?,
				deptName: json['deptName'] as String?,
				orderNum: json['orderNum'] as int?,
				leader: json['leader'] as String?,
				phone: json['phone'] as dynamic,
				email: json['email'] as dynamic,
				status: json['status'] as String?,
				delFlag: json['delFlag'] as dynamic,
				parentName: json['parentName'] as dynamic,
				children: json['children'] as List<dynamic>?,
			);

	Map<String, dynamic> toJson() => {
				'createBy': createBy,
				'createTime': createTime,
				'updateBy': updateBy,
				'updateTime': updateTime,
				'remark': remark,
				'deptId': deptId,
				'parentId': parentId,
				'ancestors': ancestors,
				'deptName': deptName,
				'orderNum': orderNum,
				'leader': leader,
				'phone': phone,
				'email': email,
				'status': status,
				'delFlag': delFlag,
				'parentName': parentName,
				'children': children,
			};
}
